package com.cos.emp.rjz9emp.vo;

import com.cos.emp.rjz9emp.entity.Emp;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author: COS
 * @time: 2021/12/24 15:50
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmpVo extends Emp {
    private String dname;

    @Override
    public String toString() {
        return "EmpVo{" +
                "dname='" + dname + '\'' +
                ", eno=" + eno +
                ", ename='" + ename + '\'' +
                ", esex='" + esex + '\'' +
                ", salary=" + salary +
                ", dno=" + dno +
                ", bornDate=" + bornDate +
                ", pwd='" + pwd + '\'' +
                '}';
    }
}
